module PagesHelper
  EX_HASH = {
    ex1: ["$(#id) - jquery id选择", "$(document).ready(function(){...}", "html(),text(),append()..."],
    ex2: ["hide()", "show()","fadeOut/fadeIn/slideUp/slideDown"],
    ex3: ["hover()", "toggle(), slideToggle, fadeToggle"],
    ex4: ["remove(), replaceWith()", "类选择器 $('.zoo')"],
    ex5: ["addClass()", "removeClass()"]
  }


  def get_arr(key)
     arr= EX_HASH.fetch key.to_sym, ['do not exist']
  end


end
